package net.cdsunrise.com.worker;

/**
 * @author: LiuWei
 * @date: Create in 16:26 2018/05/14
 */

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

/**
 * @author: LiuWei
 * @date: Create in 11:17 2018/05/10
 */
@SpringBootApplication
@EnableEurekaClient
@EnableGlobalMethodSecurity(prePostEnabled = true)
@EnableFeignClients(basePackages = "net.cdsunrise.com.worker.client")
public class WorkerServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(WorkerServerApplication.class, args);
    }

}
